package com.ctgu.examonline.service;

import com.ctgu.examonline.entity.Major;

import java.util.List;

/**
 * Created by 段敏杰 at 2020-08-06 13:06
 */
public interface MajorService {
    // 查询所有的专业
    List<Major> getMajorList();
    //插入一个专业
    void saveOneMajor(Major major);
    //删除一个专业
    void deleteOneMajor(String name);
    //更新一个专业
    void updateOneMajor(String newName,String oldName);
}
